using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1
{
    public partial class LoginForm : Form
    {
        public LoginForm()
        {
            InitializeComponent();
        }

        private void btn_login_Click(object sender, EventArgs e)
        {
            if (txt_user.Text == "usha" && txt_password.Text == "u13")
            {
                mainform m = new mainform();
                m.Show();
            }
            else
            {
                MessageBox.Show("Check username and password");
            }
        }
    }
}